package com.ferryc.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;



/*
 *  Created by Ferry Chen on 2019-11-06.
 */
@Data
@TableName("t_stroage")
public class Stroage {

    @JsonIgnore
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @TableField(value = "product_id", exist = true)
    private String productId;
    private Integer count;
    @JsonIgnore
    @TableField(value = "insert_time", exist = true)
    private Date insertTime;
    @JsonIgnore
    @TableField(value = "update_time", exist = true)
    private Date updateTime;

    private  int  frozen;
}